const path = require('path')

module.exports = {
  transpileDependencies: ['@dcloudio/uni-ui'],
  configureWebpack: {
    resolve: {
      alias: {
        '@': path.resolve(__dirname, './'),
        '@api': path.resolve(__dirname, './api'),
        '@components': path.resolve(__dirname, './components'),
        '@utils': path.resolve(__dirname, './utils'),
        '@common': path.resolve(__dirname, './common'),
        '@config': path.resolve(__dirname, './config'),
        '@js_sdk': path.resolve(__dirname, './js_sdk'),
        '@uni_modules': path.resolve(__dirname, './uni_modules'),
        'uni_modules': path.resolve(__dirname, './uni_modules')
      }
    }
  }
} 